package com.ruoyi.project.system.Information.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 customer_Information
 * 
 * @author ruoyi
 * @date 2022-05-10
 */
public class CustomerInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 寄件原始输入的文本内容 */
    @Excel(name = "寄件原始输入的文本内容")
    @NotBlank(message ="寄件原始输入的文本内容不能为空" )
    private String sendText;

    /** 寄件省（直辖市/自治区） */
    @Excel(name = "寄件省", readConverterExp = "直=辖市/自治区")
    @NotBlank(message ="寄件省不能为空" )
    private String sendProvince;

    /** 寄件市 */
    @Excel(name = "寄件市")
    @NotBlank(message ="寄件市不能为空" )
    private String sendCity;

    /** 寄件区（县） */
    @Excel(name = "寄件区", readConverterExp = "县=")
    @NotBlank(message ="寄件区不能为空" )
    private String sendCounty;

    /** 寄件街道（乡/镇） */
    @Excel(name = "寄件街道", readConverterExp = "乡=/镇")
//    @NotNull(message = "寄件街道不能为空")
    private String sendTown;

    /** 寄件姓名 */
    @Excel(name = "寄件姓名")
    @NotBlank(message ="寄件姓名不能为空" )
    private String sendPerson;

    /** 寄件详细地址 */
    @Excel(name = "寄件详细地址")
    @NotBlank(message ="寄件详细地址不能为空" )
    private String sendDetail;

    /** 寄件电话号码 */
    @Excel(name = "寄件电话号码")
    @NotBlank(message ="寄件电话号码不能为空" )
    private String sendPhonenum;

    /** 收件原始输入的文本内容 */
    @Excel(name = "收件原始输入的文本内容")
    @NotBlank(message ="收件原始输入的文本内容不能为空" )
    private String receiveText;

    /** 收件省（直辖市/自治区） */
    @Excel(name = "收件省", readConverterExp = "直=辖市/自治区")
    @NotBlank(message ="收件省不能为空" )
    private String receiveProvince;

    /** 寄件市 */
    @Excel(name = "寄件市")
    @NotBlank(message ="寄件市不能为空" )
    private String receiveCity;

    /** 收件区（县） */
    @Excel(name = "收件区", readConverterExp = "县=")
    @NotBlank(message ="收件区不能为空" )
    private String receiveCounty;

    /** 收件街道（乡/镇） */
    @Excel(name = "收件街道", readConverterExp = "乡=/镇")
//    @NotNull(message = "收件街道不能为空")
    private String receiveTown;

    /** 收件姓名 */
    @Excel(name = "收件姓名")
    @NotBlank(message ="收件姓名不能为空" )
    private String receivePerson;

    /** 收件详细地址 */
    @Excel(name = "收件详细地址")
    @NotBlank(message ="收件详细地址不能为空" )
    private String receiveDetail;

    /** 收件电话号码 */
    @Excel(name = "收件电话号码")
    @NotBlank(message ="收件电话号码不能为空" )
    private String receivePhonenum;


    private BigDecimal amount;
    private String loginName;
    private Date createTime;
    private String state;
    private Integer sign;
    private Integer flag;


    private String number;
//    @NotNull(message = "寄件省不能为空")
    private String name;
    private String phone;
    private String code;
    private String rookieAccount;
    private String fail;


    public String getFail() {
        return fail;
    }

    public void setFail(String fail) {
        this.fail = fail;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRookieAccount() {
        return rookieAccount;
    }

    public void setRookieAccount(String rookieAccount) {
        this.rookieAccount = rookieAccount;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getSign() {
        return sign;
    }

    public void setSign(Integer sign) {
        this.sign = sign;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSendText(String sendText)
    {
        this.sendText = sendText;
    }

    public String getSendText()
    {
        return sendText;
    }
    public void setSendProvince(String sendProvince)
    {
        this.sendProvince = sendProvince;
    }

    public String getSendProvince()
    {
        return sendProvince;
    }
    public void setSendCity(String sendCity)
    {
        this.sendCity = sendCity;
    }

    public String getSendCity()
    {
        return sendCity;
    }
    public void setSendCounty(String sendCounty)
    {
        this.sendCounty = sendCounty;
    }

    public String getSendCounty()
    {
        return sendCounty;
    }
    public void setSendTown(String sendTown)
    {
        this.sendTown = sendTown;
    }

    public String getSendTown()
    {
        return sendTown;
    }
    public void setSendPerson(String sendPerson)
    {
        this.sendPerson = sendPerson;
    }

    public String getSendPerson()
    {
        return sendPerson;
    }
    public void setSendDetail(String sendDetail)
    {
        this.sendDetail = sendDetail;
    }

    public String getSendDetail()
    {
        return sendDetail;
    }
    public void setSendPhonenum(String sendPhonenum)
    {
        this.sendPhonenum = sendPhonenum;
    }

    public String getSendPhonenum()
    {
        return sendPhonenum;
    }
    public void setReceiveText(String receiveText)
    {
        this.receiveText = receiveText;
    }

    public String getReceiveText()
    {
        return receiveText;
    }
    public void setReceiveProvince(String receiveProvince)
    {
        this.receiveProvince = receiveProvince;
    }

    public String getReceiveProvince()
    {
        return receiveProvince;
    }
    public void setReceiveCity(String receiveCity)
    {
        this.receiveCity = receiveCity;
    }

    public String getReceiveCity()
    {
        return receiveCity;
    }
    public void setReceiveCounty(String receiveCounty)
    {
        this.receiveCounty = receiveCounty;
    }

    public String getReceiveCounty()
    {
        return receiveCounty;
    }
    public void setReceiveTown(String receiveTown)
    {
        this.receiveTown = receiveTown;
    }

    public String getReceiveTown()
    {
        return receiveTown;
    }
    public void setReceivePerson(String receivePerson)
    {
        this.receivePerson = receivePerson;
    }

    public String getReceivePerson()
    {
        return receivePerson;
    }
    public void setReceiveDetail(String receiveDetail)
    {
        this.receiveDetail = receiveDetail;
    }

    public String getReceiveDetail()
    {
        return receiveDetail;
    }
    public void setReceivePhonenum(String receivePhonenum)
    {
        this.receivePhonenum = receivePhonenum;
    }

    public String getReceivePhonenum()
    {
        return receivePhonenum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sendText", getSendText())
            .append("sendProvince", getSendProvince())
            .append("sendCity", getSendCity())
            .append("sendCounty", getSendCounty())
            .append("sendTown", getSendTown())
            .append("sendPerson", getSendPerson())
            .append("sendDetail", getSendDetail())
            .append("sendPhonenum", getSendPhonenum())
            .append("receiveText", getReceiveText())
            .append("receiveProvince", getReceiveProvince())
            .append("receiveCity", getReceiveCity())
            .append("receiveCounty", getReceiveCounty())
            .append("receiveTown", getReceiveTown())
            .append("receivePerson", getReceivePerson())
            .append("receiveDetail", getReceiveDetail())
            .append("receivePhonenum", getReceivePhonenum())
                .append("amount", getAmount())
                .append("loginName", getLoginName())
                .append("createTime", getCreateTime())
                .append("state", getState())
                .append("sign", getSign())
                .append("flag", getFlag())
                .append("number", getNumber())
                .append("name", getName())
                .append("phone", getPhone())
                .append("code", getCode())
                .append("rookieAccount", getRookieAccount())
                .append("fail", getFail())
            .toString();
    }
}